<!DOCTYPE html>

<html>
	<head>
		<meta charset="UTF-8" />
		<title>Uppgift 9 - Tabellgenerering</title>
		<link rel="stylesheet" type="text/css" href="../css/CSS9.css">
		<script type="text/javascript" src="../script/S9.js"></script>
	</head>
	<body>
		<div id="table"> </div>
		
		<script type="text/javascript">
		    // Create the matrix.
		    var matrix = [];
		    matrix[0] = [];
		    matrix[1] = [];
		    matrix[2] = [];
		    matrix[3] = [];
		    matrix[4] = [];
		    matrix[5] = [];
		    
		    // Fill the matrix with data.
		    matrix[0][0] = "Förnamn:";
		    matrix[0][1] = "Efternamn:";
		    matrix[0][2] = "Telefon:";
		    
		    matrix[1][0] = "Johan";
		    matrix[1][1] = "Leitet";
		    matrix[1][2] = "7716";
		    
		    matrix[2][0] = "Mats";
		    matrix[2][1] = "Loock";
		    matrix[2][2] = "7714";
		    
		    matrix[3][0] = "Christoffer";
		    matrix[3][1] = "Bengtsson";
		    matrix[3][2] = "1324";
		    
		    matrix[4][0] = "Andreas";
		    matrix[4][1] = "Andersson";
		    matrix[4][2] = "9796";
		    
		    matrix[5][0] = "Kalle";
		    matrix[5][1] = "Karlsson";
		    matrix[5][2] = "5342";
		    
			GenerateTable(matrix);
		</script>
	</body>
</html>